package org.example.rowing.domain;

import lombok.Data;

/**
 * 报名表
 */
@Data
public class Registration {
    private Long id;     // 报名id
    private Long raceId; // 关联比赛id
    private Long teamId; // 关联队伍id
    // 报名时间等信息

    public Registration() {}

    public Registration(Long id, Long raceId, Long teamId) {
        this.id = id;
        this.raceId = raceId;
        this.teamId = teamId;
    }
}
